package com.frejoys.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.frejoys.common.vo.agent.AgentUserVo;
import com.frejoys.dao.entity.AgentUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgentUserMapper extends BaseMapper<AgentUser>{

    /**
     * 根据组id获取组所在代理人信息
     */
    List<AgentUserVo> getUserInfo(@Param("ids") List<Integer> agentGroupIds);
}
